<template>
  <div class="game-controls">
    <button class="btn" @click="handleReset">
      🔄 重新开始
    </button>
    <button class="btn" @click="handleHint">
      💡 提示
    </button>
  </div>
</template>

<script>
export default {
  name: 'GameControls',
  emits: ['reset', 'hint'],
  methods: {
    handleReset() {
      this.$emit('reset')
    },
    handleHint() {
      this.$emit('hint')
    }
  }
}
</script>

<style scoped>
.game-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
</style> 